package com.example.db;

import java.util.Map;

import com.example.singletones.SQLHelper;

public abstract class AbstractDBAction implements IDBAction {

	protected SQLHelper sqlHelper;

	public AbstractDBAction(SQLHelper sqlHelper) {
		this.sqlHelper = sqlHelper;
	}

	public boolean isApplicable(Object sender, Map<String, Object> args) {
		throw new UnsupportedOperationException(
				"Unimplemented isApplicableAsMap");
	}

	public void updateDB(Object sender, Map<String, Object> args) {
		throw new UnsupportedOperationException("Unimplemented updateDBAsMap");
	}
}
